﻿using Microsoft.EntityFrameworkCore;

namespace AspnetCore.Demo
{
    public class MyDbContext:DbContext
    {
        public DbSet<User> Users { get; set; }
        public MyDbContext(DbContextOptions options):base(options)
        {

        }
    
    }

    public class User
    {
        public int Id { get; set; }
        public string Name { get; set; }
    }
}
